﻿using System;
using Microsoft.Xna.Framework.Graphics;

namespace Terraria.ModLoader
{
	// Token: 0x02000196 RID: 406
	public class GlobalWall
	{
		// Token: 0x17000137 RID: 311
		// (get) Token: 0x060010CA RID: 4298 RVA: 0x0000EC37 File Offset: 0x0000CE37
		// (set) Token: 0x060010CB RID: 4299 RVA: 0x0000EC3F File Offset: 0x0000CE3F
		public Mod mod { get; internal set; }

		// Token: 0x17000138 RID: 312
		// (get) Token: 0x060010CC RID: 4300 RVA: 0x0000EC48 File Offset: 0x0000CE48
		// (set) Token: 0x060010CD RID: 4301 RVA: 0x0000EC50 File Offset: 0x0000CE50
		public string Name { get; internal set; }

		// Token: 0x060010CE RID: 4302 RVA: 0x0000EC59 File Offset: 0x0000CE59
		public virtual bool Autoload(ref string name)
		{
			return this.mod.Properties.Autoload;
		}

		// Token: 0x060010CF RID: 4303 RVA: 0x00006B58 File Offset: 0x00004D58
		public virtual void SetDefaults()
		{
		}

		// Token: 0x060010D0 RID: 4304 RVA: 0x00008CF7 File Offset: 0x00006EF7
		public virtual bool KillSound(int i, int j, int type)
		{
			return true;
		}

		// Token: 0x060010D1 RID: 4305 RVA: 0x00006B58 File Offset: 0x00004D58
		public virtual void NumDust(int i, int j, int type, bool fail, ref int num)
		{
		}

		// Token: 0x060010D2 RID: 4306 RVA: 0x00008CF7 File Offset: 0x00006EF7
		public virtual bool CreateDust(int i, int j, int type, ref int dustType)
		{
			return true;
		}

		// Token: 0x060010D3 RID: 4307 RVA: 0x00008CF7 File Offset: 0x00006EF7
		public virtual bool Drop(int i, int j, int type, ref int dropType)
		{
			return true;
		}

		// Token: 0x060010D4 RID: 4308 RVA: 0x00006B58 File Offset: 0x00004D58
		public virtual void KillWall(int i, int j, int type, ref bool fail)
		{
		}

		// Token: 0x060010D5 RID: 4309 RVA: 0x00008CF7 File Offset: 0x00006EF7
		public virtual bool CanExplode(int i, int j, int type)
		{
			return true;
		}

		// Token: 0x060010D6 RID: 4310 RVA: 0x00006B58 File Offset: 0x00004D58
		public virtual void ModifyLight(int i, int j, int type, ref float r, ref float g, ref float b)
		{
		}

		// Token: 0x060010D7 RID: 4311 RVA: 0x00006B58 File Offset: 0x00004D58
		public virtual void RandomUpdate(int i, int j, int type)
		{
		}

		// Token: 0x060010D8 RID: 4312 RVA: 0x00008CF7 File Offset: 0x00006EF7
		public virtual bool PreDraw(int i, int j, int type, SpriteBatch spriteBatch)
		{
			return true;
		}

		// Token: 0x060010D9 RID: 4313 RVA: 0x00006B58 File Offset: 0x00004D58
		public virtual void PostDraw(int i, int j, int type, SpriteBatch spriteBatch)
		{
		}

		// Token: 0x060010DA RID: 4314 RVA: 0x00006B58 File Offset: 0x00004D58
		public virtual void PlaceInWorld(int i, int j, int type, Item item)
		{
		}
	}
}
